# 统计12小时script目录下编码量
git log --since='12 hours ago' --pretty=tformat: --numstat | grep 'script'
git log --since='12 hours ago' --pretty=tformat: --numstat | grep 'script' | awk '{ add += $1; subs += $2; loc += $1 + $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }'
read -n 1 -s